package com.itheima.domain.mongo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Document(collection = "question")
@Data
public class Question implements Serializable {
    private ObjectId id;//问题id
    private ObjectId questionnaireId;//所属问卷
    private String question;//问题内容

}
